package session

type SessionOpt func(*Session)

func WithSessionId(sessionId string) SessionOpt {
	return func(s *Session) {
		s.sessionId = sessionId
	}
}

type Session struct {
	sessionId string // session id 字段名
	storage   ISessionStorage
}
